package multiThreading;

import gui.ResultsPanel;

public class QueryThread implements Runnable {

    private String query;
    private ResultsPanel results;
    
    public QueryThread(final String query, final ResultsPanel results) {
	this.query = query;
	this.results = results;
    }
    
    @Override
    public void run() {
	results.sqlQuery(query);
    }

    
}
